package com.clotingshoppos.modules.product.entity;

import com.clotingshoppos.common.base.BaseEntity.BaseEntity;

import javax.persistence.*;

/**
 * @ClassName: ProductEntity
 * @Description:
 * @Author: zhandad
 * @Date: 2019-03-25 10:21
 * @Version: v1.0
 */
@Entity
@Table(name = "product", schema = "clothing_shop_pos", catalog = "")
public class ProductEntity extends BaseEntity {
    private String name;
    private String sex;
    private String size;
    private String type;
    private String price;
    private String color;
    private String age_group;
    private String season;

    @Basic
    @Column(name = "name", nullable = true, length = 45)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Basic
    @Column(name = "sex", nullable = true)
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Basic
    @Column(name = "size", nullable = true)
    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    @Basic
    @Column(name = "type", nullable = true)
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Basic
    @Column(name = "price", nullable = true)
    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    @Basic
    @Column(name = "color", nullable = true)
    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Basic
    @Column(name = "season", nullable = true)
    public String getSeason() {
        return season;
    }

    public void setSeason(String season) {
        this.season = season;
    }

    @Basic
    @Column(name = "age_group", nullable = true)
    public String getAge_group() {
        return age_group;
    }

    public void setAge_group(String age_group) {
        this.age_group = age_group;
    }


}
